home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14166 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.cais.com!news
  2. From: Chris Reiser <creiser@ids2.idsonline.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Linker Error: Segment xx exceeds 64k?
  5. Date: Thu, 28 Mar 1996 23:28:22 -0500
  6. Organization: Capital Area Internet Service info@cais.com 703-448-4470
  7. Message-ID: <315B66E6.68C6@ids2.idsonline.com>
  8. References: <315a6e3a.4050698@netnews.ntu.edu.tw>
  9. NNTP-Posting-Host: ip238.idsonline.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. : Benjamin Han wrote:
  16. : > 
  17. : > Yes, that's exactly what I got from my Borland C++ 4.53 compiler (Linker Error:
  18. : > Segment xx exceeds 64k). I was trying to rebuild a CodeGuard-enabled target with
  19. : > EasyWin mode. The same rebuilding process went just fine with Win32 console
  20. : > mode. Any work-around? Thanks in advance.
  21. : > 
  22. : > Benjamin Han
  23. : > ben@water.ee.nsysu.edu.tw
  24. : > 
  25. : > Dept. of E.E., National Sun Yat-sen Univ.
  26. : > Taiwan.
  27.  
  28. It looks like you are making a 16 bit program here.  Your code is larger than 64K, so it must
  29. be broken down  to smaller units.  If you have seperate source files, assign them to different
  30. segments (in Microsoft use #pragma segment( name? ) ) make a *.def file listing the seperate 
  31. segments.
  32.